SmartFTP FTP Library
IKey::IsPublicKey Method

Indicates if key has a public key.

IDL
HRESULT IsPublicKey(
    [out,retval] VARIANT_BOOL* retval
);

Keys with a private key always have a public key and therefore the function returns true in this case.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.